Skip to content

refactor: improve coordinator meta prompt with structured role, rules, and workflow#705

Merged
FL4TLiN3 merged 1 commit intomainfrom
refactor/coordinator-meta-prompt
Mar 4, 2026
Merged

refactor: improve coordinator meta prompt with structured role, rules, and workflow#705
FL4TLiN3 merged 1 commit intomainfrom
refactor/coordinator-meta-prompt

Conversation

@FL4TLiN3
Copy link
Contributor

@FL4TLiN3 FL4TLiN3 commented Mar 4, 2026

Summary

  • Restructure coordinator meta prompt with clear sections: Role, Rules, Workflow, Delegation best practices, Task completion criteria
  • Add gatekeeper rule: coordinator must verify delegate outputs (run code, read docs, call APIs, cross-check research) instead of trusting at face value
  • Add context isolation guidance: delegates receive only the query string, use workspace files for inter-delegate data exchange
  • Add structured workflow: investigate → decompose → parallel delegate → review → handle failures → aggregate
  • Add concrete task completion criteria (quality, cleanup)
  • Remove redundant "Call tools iteratively" from both delegate and coordinator (covered by preamble)
  • Remove "Planning as delegation" (covered by general createExpert guidance)

Test plan

  • Run existing e2e tests to confirm no regression
  • Test coordinator behavior with a multi-delegate expert to verify new prompt improves delegation quality

🤖 Generated with Claude Code

…, and workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit 87cd6e2 into main Mar 4, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the refactor/coordinator-meta-prompt branch March 4, 2026 21:52
@FL4TLiN3 FL4TLiN3 mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant